package request

type OrderCreate struct {
	Num           int64   `json:"num" form:"num" binding:"required"`
	PaymentMethod int64   `json:"pay" form:"paymentmethod" binding:"required"`
	UserId        int64   `json:"userId" form:"userId" binding:"required"`
	ShopId        int64   `json:"shopId" form:"shopId" binding:"required"`
	Price         float64 `json:"price" form:"price" binding:"required"`
}
type Orderlist struct {
	Page     int `json:"page" form:"page" binding:"required"`
	PageSize int `json:"pageSize" form:"pageSize" binding:"required"`
}
type UpdateOrder struct {
	Num           int64   `json:"num" form:"num" binding:"required"`
	PaymentMethod int64   `json:"paymentMethod" form:"paymentMethod" binding:"required"`
	UserId        int64   `json:"userId" form:"userId" binding:"required"`
	ShopId        int64   `json:"shopId" form:"shopId" binding:"required"`
	Price         float64 `json:"price" form:"price" binding:"required"`
	Id            int64   `json:"id" form:"id" binding:"required"`
	Storck        int64   `json:"storck" form:"storck" binding:"required"`
}
type OrderDel struct {
	Id int64 `json:"id" form:"id" binding:"required"`
}
